<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
        /* 清除所有样式 */
        * {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        ul {
            width: 290px;
            margin: 50px auto;
        }
        ul li {
            float: left;
            width: 70px;
            height: 80px;
            border: 1px solid #ccc;
            text-align: center;
        }
        span {
            padding: 14px;
            display: inline-block;
            margin-top: 14PX;
        }
        p {
            font-size: 14px;
            font-weight: lighter;
            padding-top: 4px;
        }
        .item-1 {
            background-repeat: no-repeat;
            background-image: url("img/雪碧图.png");
        }
        .item-2 {
            background-repeat: no-repeat;
            background-position-y: -90px;
            background-image: url("img/雪碧图.png");
        }
        .item-3 {
            background-repeat: no-repeat;
            background-position-y: -44px;
            background-image: url("img/雪碧图.png");
        }
        .item-4 {
            background-repeat: no-repeat;
            background-position-y: -134px;
            background-image: url("img/雪碧图.png");
        }
        .item-5 {
            background-repeat: no-repeat;
            background-position-y: -174px;
            background-image: url("img/雪碧图.png");
        }
        .item-6 {
            background-repeat: no-repeat;
            background-position-y: -220px;
            background-image: url("img/雪碧图.png");
        }
        .item-7 {
            background-repeat: no-repeat;
            background-position-y: -264px;
            background-image: url("img/雪碧图.png");
        }
        .item-8 {
            background-repeat: no-repeat;
            background-position-y: -310px;
            background-image: url("img/雪碧图.png");
        }
    </style>
</head>
    <ul>
        <li>
            <span class="item-1"></span>
            <p>充话费</p>
        </li>
        <li>
            <span class="item-2"></span>
            <p>旅行</p>
        </li>
        <li>
            <span class="item-3"></span>
            <p>车险</p>
        </li>
        <li>
            <span class="item-4"></span>
            <p>游戏</p>
        </li>
        <li>
            <span class="item-5"></span>
            <p>彩票</p>
        </li>
        <li>
            <span class="item-6"></span>
            <p>电影</p>
        </li>
        <li>
            <span class="item-7"></span>
            <p>酒店</p>
        </li>
        <li>
            <span class="item-8"></span>
            <p>理财</p>
        </li>
    </ul>
</body>
</html>